package com.sy.bean.purchase;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

@Data
@ApiModel("采购单")
public class Purchase {
    @ApiModelProperty("采购单id")
    int id;
    @ApiModelProperty("单据编码")
    String code;
    @ApiModelProperty("供应商名称")
    String supplierName;
    @ApiModelProperty("采购金额")
    double money;
    @ApiModelProperty("仓库")
    String stock;
    @ApiModelProperty("审核状态")
    int auditStatus;
    @ApiModelProperty("入库状态")
    int stockStatus;
    @ApiModelProperty("备注")
    String note;
    @ApiModelProperty("创建时间")
    String createTime;
    @ApiModelProperty("采购运费")
    double purchaseMoney;
    @ApiModelProperty("预付金额")
    double prepayMoney;
    @ApiModelProperty("付款方式")
    int payment;
    @ApiModelProperty("总金额")
    double numMoney;
    @ApiModelProperty("制单人")
    String singlePerson;
    @ApiModelProperty("审核人")
    String reviewers;
    @ApiModelProperty("制单时间")
    String singleTime;
    @ApiModelProperty("审核时间")
    String reviewersTime;
    @ApiModelProperty("采购单明细")
    List<PurchaseDetail> purchaseDetail;
}
